﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>鼠标提示信息模块</title>
	 <meta http-equiv="X-UA-Compatible" content="IE=8;text/html;charset=utf-8" />
<script type="text/javascript" src="lib/ChrhcMap.Include.js"></script>
    <script type="text/javascript">
        var vM;
        function InitMap() {
            vM = vEdushiMap;
        }
        
        //自定义鼠标提示
        function PointerTipOpen() {
            vM.LoadModule('PointerTip', function () {
               
            })
			 vM.PointerTip.Show('<div style="background-color:White">这是一个自定义鼠标提示！</div>', 1, 1);
        }

        //隐藏鼠标提示
        function PointerTipClose() {
            //vM.LoadModule('PointerTip', function () {
                vM.PointerTip.Hide();
            //})
        }
    </script>
</head>
<body style="margin: 0" onload="InitMap();">
    <div style="padding:10px 0px 10px 20px;"><input onclick="PointerTipOpen()" value="开启鼠标提示" type="button" />
    <input onclick="PointerTipClose()" value="关闭鼠标提示" type="button" />
    </div>
    <div id="EdushiMap">
    </div>
</body>
</html>
<script type="text/javascript" src="http://apiinkey.alayun.net/?mapid=EdushiMap&city=hangzhou&w=1120&x=7050&y=12866&eye=flase&ew=180&eh=140&e=utf-8&z=1&v=0&zb=true&s=true"></script>
